package eolympics.server;

import data.GameState;

class GameServerNotRunningState
        extends GameServerParentState
{
    public GameServerNotRunningState(final IGameServer pGameServer)
    {
        super(pGameServer);
    }

    @Override
    public GameState getGameState()
    {
        return GameState.NOT_RUNNING;
    }

    @Override
    public void start()
    {
        mServer.startServer();

        mGameServer.changeGameState(new GameServerWaitingForStartState(mGameServer));
    }
}
